package com.woniuxy.microcurrentserver.feign;

import com.woniuxy.bean.BillBean;
import com.woniuxy.bean.ResultBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author ：陈酒
 * @date ：Created in 2021/4/14 9:38
 * @description：支付feign接口
 * @modified By：
 * @version: 1.0
 */

@FeignClient(value = "cd-finance-micro-sys-server")
public interface PayFeign {

    @PostMapping(value = "/member/balancepayment",produces = MediaType.APPLICATION_JSON_VALUE)
    ResultBean balancePayment(@RequestBody BillBean billBean);


}
